#include "cocoapp/AppDelegate.h"
#include "QtGui"
#include "cocos2d.h"
#include "mainwindow.h"
using namespace cocos2d;
#include "constantManager.h"
int main(int argc, char *argv[])
{
//    QApplication a(argc, argv);
    
//    MainWindow w;
//    w.show();
    
//    return a.exec();
    // create the application instance
    
    CCFileUtils::setResourcePath(ConstantManager::sharedManager()->getResourcePath());

    AppDelegate app(argc, argv);


	int ret = CCApplication::sharedApplication().run();
    return ret;
      
}
